#filename:/mysite/urls.py
from django.conf.urls.defaults import *
import settings
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^mysite/', include('mysite.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^humor/', include('mysite.humor.urls')),
    (r'^admin/', include(admin.site.urls)),
#	(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',{'document_root': r'/home/luhaiyang/android/Humor/templates/Free_Blog'}),
#    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',{'document_root': r'/home/lhy/workspace/Humor/templates/Free_Blog'}),
	(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',{'document_root': r'/home/lhy/templates/Free_Blog'}),
#    ('', include('mysite.humor.urls')),
#    (r'^$', include('mysite.humor.urls')),
)
